package com.netease.yunxin.kit.conversationkit.ui.model

data class ImOfficialBean(
    val code: Int? = null,
    val msg: String? = null,
    val data: ImOfficialDataBean,
    val viewType: Int = 3
)

data class ImOfficialDataBean(
    val officialServInfo: OfficialServInfoBean,
    val officialMsgInfo: OfficialMsgInfoBean,
)

data class OfficialServInfoBean(
    val name: String,
    val icon: String,
    val id: Long,
)

data class OfficialMsgInfoBean(
    val name: String,
    val icon: String,
    val newestMsg: NewestMsgBean
)

data class NewestMsgBean(
    var notRead: Int,
    val message: NewestMsgMessageBean
)

data class NewestMsgMessageBean(
    val isPush: Int,
    val msgType: Int,
    val createTime: Long,
    val isDelete: Int,
    val isRead: Int,
    val id: Long,
    val title: String,
    val type: Int,
    val userId: Long,
    val content: String,
    val data: NewestMsgMessageDataBean
)

data class NewestMsgMessageDataBean(
    val type: Int,
    val title: String,
    val content: String,
)
